{{ content() }}
<div id="main1">
    <div class="outer_profile">

        <div class="content_left">
            <div class="outterAva">
                <div class="boxAva">
                    <a href="">
                        <img height="48" src="{{url('public/img/bookprofile.jpg')}}" width="148"></a></div>
                <p style="text-align:center">{{userfullname}}</p>                  
            </div>
            <div class="menuTT1">
                <a href="{{url('profile')}}">Thông tin cá nhân</a>
            </div>           
            <div class="menuTT2">
                <a href="{{url('downhistory')}}">Lịch sử Download</a>
            </div>
            <div class="menuTT2">
                <a href="{{url('uploadhistory')}}">Lịch sử Upload</a>
            </div>
            <div class="menuTT3">
                <a href="{{url('recharge')}}">Nạp tiền</a>
            </div>
            <div class="menuTT3">
                <a href="{{url('exchange')}}">Lịch sử giao dịch</a>
            </div>          
        </div>
        <div class="content_right">
            <div id="mainInfo">
                <div class="topRight">
                    <span class="downloadhistory">Lịch sử Download</span>
                </div>
                <!--                <div class="boxAllDownload">
                                    <select class="my_select">
                                        <option class="op" value="0" selected="selected">Tất cả</option>
                                        <option class="op" value="1">Luận văn</option>
                                        <option class="op" value="2">Ebook</option>
                                        <option class="op" value="3">Tài liệu đại học</option>
                                        <option class="op" value="4">Tài liệu phổ thông</option>                        
                                    </select>
                                    <input type="hidden" id="accountid" value="80180">
                                </div>-->
                <div class="fright_pagination">{{elements.frontPaginator(docs,'searchForm')}}</div>
                {% for doc in docs.items %}
                <div class="book">
                    <div class="BookInfo">
                        <div class="bookImage">
                            <a href="{{url('doc/view/'~doc.id)}}" rel="nofollow">
                                <img src="{{url('public/review/'~doc.topic_id~'/'~doc.doc_id~'/'~doc.image)}}" alt="{{doc.title}}">
                            </a>
                        </div>
                        <div class="summary">
                            <p class="bookTitle">
                                <a href="{{url('doc/view/'~doc.doc_id)}}">{{doc.title}}</a>
                            </p>
                            <span class="bookSummary history_summary"><span class="countInfo">Chuyên mục</span>
                                <span><a href="{{url('topic/search/'~doc.topic_id)}}" class="username notranslate">{{doc.TopicName}}</a></span>
                            </span>
                            <div class="count">
                                <span class="countInfo">Số lượt tải:</span> <span>{{doc.download}}</span> <span class="countInfo">
                                    Ngày tải:</span> <span class="timeDownload">{{doc.time}}</span>
                            </div>
                        </div>
                    </div>
                </div>
                {% endfor %}
            </div>
        </div>

    </div>